package com.cd.util;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class RE {
	
	public Matcher checkRegular(String sentence,String regex){
		Pattern pattern = Pattern.compile(regex);
		Matcher matcher = pattern.matcher(sentence);
		return matcher;
	}

}
